package com.xayy.health.mgt.model;

import cn.kawins.mybatis.base.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
* @ClassName: FaultModManage
* @Description: 实体类
* @author liuyuan
* @date 2025-06-07
*/
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Table(name = "HEALTH.fault_mod_manage")
public class FaultModManage extends BaseModel<Long> {
    private static final long serialVersionUID = 1L;
        /**
        * id
        */
        @Id
        @Column(name = "id")
        private Long id;
        /**
        * 模型名称
        */
        @Column(name = "mod_name")
        @ApiModelProperty(value = "模型名称")
        private String modName;
        /**
        * 模型启动命令
        */
        @Column(name = "start_commad")
        @ApiModelProperty(value = "模型启动命令")
        private String startCommad;
        /**
        * 模型所在文件夹路径
        */
        @Column(name = "dir_path")
        @ApiModelProperty(value = "模型所在文件夹路径")
        private String dirPath;
        /**
        * 计算请求地址
        */
        @Column(name = "http_addr")
        @ApiModelProperty(value = "计算请求地址")
        private String httpAddr;
        /**
        * 所需的数据类型
        */
        @Column(name = "data_type")
        @ApiModelProperty(value = "所需的数据类型")
        private String dataType;
        /**
        * 模型运行状态，-1为未运行，1为运行中
        */
        @Column(name = "status")
        @ApiModelProperty(value = "模型运行状态，-1为未运行，1为运行中")
        private Integer status;
        /**
        * 版本号
        */
        @Column(name = "version")
        @ApiModelProperty(value = "版本号")
        private String version;
        /**
        * 创建时间
        */
        @Column(name = "create_time")
        @ApiModelProperty(value = "创建时间")
        private Date createTime;
        /**
        * 更新时间
        */
        @Column(name = "update_time")
        @ApiModelProperty(value = "更新时间")
        private Date updateTime;

    @Override
    public Long idValue() {
        return null;
    }
}